'use strict';
module.exports = function(grunt){

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        concat: {
            htmlConcat: {
                src: './src/*.html',
                dest: './dist/index.html'
            }
        },
        clean: {
            dist: './dist'
        },
        copy: {
            dist: {
                expand: true,
                flatten: true,
                src: './src/js/*',
                dest: './dist/js/'
            }
        }
    });

    grunt.loadNpmTasks( 'grunt-contrib-concat' );
    grunt.loadNpmTasks( 'grunt-contrib-clean' );
    grunt.loadNpmTasks( 'grunt-contrib-copy' );

    grunt.registerInitTask( 'default',[ 'clean', 'copy', 'concat' ] );
};